home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Interfaces / Universal Interfaces 2.0a3 / Universal AIncludes / TSMTE.a < prev    next >
Encoding:
Text File  |  1994-11-11  |  2.2 KB  |  90 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TSMTE.a
  3. ;
  4. ;    Copyright:    © 1984-1994 by Apple Computer, Inc.
  5. ;                All rights reserved.
  6. ;
  7. ;    Version:    Universal Interfaces 2.0a3  ETO #16, MPW prerelease.  Friday, November 11, 1994. 
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.  
  17.     IF &TYPE('__TSMTE__') = 'UNDEFINED' THEN
  18. __TSMTE__ SET 1
  19.  
  20.  
  21.     IF &TYPE('__TEXTEDIT__') = 'UNDEFINED' THEN
  22.     include 'TextEdit.a'
  23.     ENDIF
  24. ;        include 'Quickdraw.a'                                        ;
  25. ;            include 'Types.a'                                        ;
  26. ;                include 'ConditionalMacros.a'                        ;
  27. ;            include 'MixedMode.a'                                    ;
  28. ;            include 'QuickdrawText.a'                                ;
  29.  
  30.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  31.     include 'Dialogs.a'
  32.     ENDIF
  33. ;        include 'Errors.a'                                            ;
  34. ;        include 'Memory.a'                                            ;
  35. ;        include 'Windows.a'                                        ;
  36. ;            include 'Events.a'                                        ;
  37. ;                include 'OSUtils.a'                                ;
  38. ;            include 'Controls.a'                                    ;
  39. ;                include 'Menus.a'                                    ;
  40.  
  41.     IF &TYPE('__APPLEEVENTS__') = 'UNDEFINED' THEN
  42.     include 'AppleEvents.a'
  43.     ENDIF
  44. ;        include 'EPPC.a'                                            ;
  45. ;            include 'PPCToolbox.a'                                    ;
  46. ;                include 'AppleTalk.a'                                ;
  47. ;            include 'Processes.a'                                    ;
  48. ;                include 'Files.a'                                    ;
  49. ;        include 'Notification.a'                                    ;
  50.  
  51.     IF &TYPE('__TEXTSERVICES__') = 'UNDEFINED' THEN
  52.     include 'TextServices.a'
  53.     ENDIF
  54. ;        include 'Components.a'                                        ;
  55.  
  56. kTSMTESignature                    EQU        'tmTE'
  57. kTSMTEInterfaceType                EQU        kTSMTESignature
  58. kTSMTEDialog                    EQU        'tmDI'
  59.  
  60. ; Gestalt
  61. gestaltTSMTEAttr                EQU        kTSMTESignature
  62. gestaltTSMTEPresent                EQU        0
  63. gestaltTSMTE                    EQU        0                    ; gestaltTSMTE is old name for gestaltTSMTEPresent 
  64.  
  65. gestaltTSMTEVersion                EQU        'tmTV'
  66. gestaltTSMTE1                    EQU        $100
  67.  
  68. ; update flag for TSMTERec
  69. kTSMTEAutoScroll                EQU        1
  70.  
  71. ; callback procedure definitions
  72. TSMTERec                 RECORD    0
  73. textH                     ds.l    1
  74. preUpdateProc             ds.l    1
  75. postUpdateProc             ds.l    1
  76. updateFlag                 ds.l    1
  77. refCon                     ds.l    1
  78. sizeof                     EQU    20
  79.                         ENDR
  80.  
  81. TSMDialogRecord         RECORD    0
  82. fDialog                     ds        DialogRecord
  83. fDocID                     ds.l    1
  84. fTSMTERecH                 ds.l    1
  85. fTSMTERsvd                 ds.l    3                                    ; reserved
  86. sizeof                     EQU    190
  87.                         ENDR
  88.  
  89.     ENDIF ; __TSMTE__
  90.